Ansys

Sample job file for running a Serial in single node:

File Name : cfx.cmd

#!/bin/bash

#@ output = test.out

#@ error = test.err

#@ job_type = MPICH

#@ node = 1

#@ tasks_per_node = 8

#@ class = Ansys

#@ environment = COPY_ALL

#@ queue

Jobid=`echo $LOADL_STEP_ID | cut -f 6 -d .`

tmpdir=$HOME/scratch/job$Jobid

mkdir -p $tmpdir; cd $tmpdir

cp -R $LOADL_STEP_INITDIR/* $tmpdir

nodes=`cat ${LOADL_HOSTFILE}`

nodes=`echo $nodes | sed -e 's/ /,/g'`

cfx5solve -def "25_12.def" -par-dist $nodes -start-method "Intel MPI Local Parallel"

mv ../job$Jobid $LOADL_STEP_INITDIR

In the command prompt, type the command, llsubmit cfx.cmd